package com.zeny.coding.service;

import java.util.List;

public interface CourseCategoryService {

    /**
     * <h2>批量保存课程-分类关系</h2>
     * @param courseId
     * @param categorys
     **/
    void saveBatch(String courseId, List<String> categorys);

    /**
     * <h2>根据课程id删除对应的分类</h2>
     * @param courseId
     **/
    void deleteByCourseId(String courseId);

    /**
     * <h2>根据课程id查找所有的分类</h2>
     * @param courseId
     **/
    List<String> findCategorysByCourseId(String courseId);
}
